import request from '@/utils/request'

export function importExcel(data) {
    return request({
        url: '/xiao/job/import',
        method: 'post',
        data: data,
    })
}

export function findList(params) {
    return request({
        url: '/xiao/job/list',
        method: 'get',
        params
    })
}

export function getDetail(id) {
    return request({
        url: '/xiao/job/'+id,
        method: 'get'
    })
}

export function updateOne(data) {
    return request({
        url: '/xiao/job',
        method: 'put',
        data:data
    })
}


export function deleted(id) {
    return request({
        url: '/xiao/job/'+id,
        method: 'delete'
    })
}
